<?php
/*
 * This file is part of the oGUI package.
 * (c) 2010 Martin Vancura, DiS. <vancura@martinvancura.cz>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
*/

/**
 * OgElementInterface.
 * Interface for create group of OgElement
 *
 * @package    oGUI
 * @subpackage core
 * @author     Martin Vancura, DiS. <vancura@martinvancura.cz>
 */
interface OgElementInterface {
  /**
   * Method should returns tag name of first OgElement in recursion this group
   *
   * @return String
   */
  public function getTagName();

  /**
   * Method should execute merge of all attributes same the way such as method
   * mergeAttributes of class OgElement.
   *
   * @return Array
   */
  public function mergeAttributes();

  /**
   * Method should returns inner html of first OgElement in recusion this Group
   *
   * @return Array
   */
  public function getInnerHtml();
}
?>
